<script setup>
import { ref } from "vue";
defineProps({ pagData: Array });
</script>
<template>
  <el-breadcrumb separator="/" id="content-title">
    <el-breadcrumb-item
      v-for="(item, index) in pagData"
      :key="index"
      :to="{ path: item.router }"
    >
      {{ item.name }}
    </el-breadcrumb-item>
  </el-breadcrumb>
</template>

<style scoped lang="scss">
#content-title {
  margin: 30px 0;
  font-size: 20px;
}
</style>
